import request from '@/utils/request'

const api = {
  getInfo: '/navbar/get-info',
  saveInfo: '/navbar/save-info'
}

export function getInfo (parameter) {
  return request({
    url: api.getInfo,
    method: 'get',
    params: parameter
  })
}

export function saveInfo (parameter) {
  return request({
    url: api.saveInfo,
    method: 'post',
    data: parameter
  })
}
